<script type="text/javascript">
</script>
<div style="width:100%;height:100%;">
    <div id="sjsr_toolbar">
    </div>
    <table id="sjsr" class="easyui-datagrid" data-options="
       <#-- url:'${base}/tjbb/zjzy/sjsr',-->
        url:'${base}/tjbb/yjykhhz/sjsrlist?gsid=${(gsid)!}&year=${(year)!}&month=${(month)!}',
        fit:true,
        <#--pagination:true,-->
        singleSelect:true,
        showFooter:true,
        fitColumns:false,
        pagination:true,
        pageNumber: 1,
        toolbar:'#sjsr_toolbar'
">
        <thead>
        <tr>
            <th data-options="field:'gs_name',width:100,align:'center'">公司</th>
            <th data-options="field:'xsdh',width:100,align:'center'">销售单号</th>
            <th data-options="field:'cksj',width:150,align:'center'">出库时间</th>
            <th data-options="field:'cust_name',width:150,align:'center'">供应商名称</th>
            <th data-options="field:'wz_name',width:100,align:'center'">物资名称</th>
            <th data-options="field:'ggxh',width:100,align: 'center'">规格型号</th>
            <th data-options="field:'dw',width:100,align:'center'">单位</th>
            <th data-options="field:'cd',width:100,align: 'center'">产地</th>
            <th data-options="field:'sl',width:130,formatter:formatSlForHtml2,align: 'right'">数量</th>
            <th data-options="field:'dj',width:130,formatter:formatSlForHtml2,align: 'right'">单价</th>
            <th data-options="field:'xsje',width:130,formatter:formatSlForHtml2,align: 'right'">销售金额</th>
            <th data-options="field:'xscb',width:130,formatter:formatSlForHtml2,align: 'right'">销售成本</th>
            <th data-options="field:'xslr',width:130,formatter:formatSlForHtml2,align: 'right'">销售利润</th>
        </tr>
        </thead>
    </table>
</div>